import http from '@/qly/http'

export default {
    // 账号密码登录
    wxlogin: params => http.post(`/api/Login/wxlogin`, params),
    // 注册
    register: params => http.post(`/user/seller/user/register`, params),
    // 获取个人信息
    info: () => http.get(`/user/seller/my/info`),
    // 登出
    logout: (data) => http.post(`/user/seller/logout`,data),
    
    // 微信登录
    wechatLogin: code => http.post(`/api/user/login/ma/${code}`),
    // 手机号认证
    mobileAuth: params => http.post(`/api/user/mobile/auth`, params),
}
